import * as React from 'react';
import { IAppConfig, runApp } from 'ice';
import { ConfigProvider } from '@alifd/next';
import '@ant-design/pro-table/dist/table.less';
import 'antd/dist/antd.less';

const appConfig: IAppConfig = {
  app: {
    rootId: 'container',
    addProvider: ({ children }) => <ConfigProvider>{React.Children.only(children)}</ConfigProvider>,
  },
};
runApp(appConfig);
